<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $this->view->title = "My Galleries";
        $this->view->headTitle($this->view->title);

        $galleries = new Application_Model_Galleries();
        $this->view->galleries = $galleries->fetchAll(null, "id desc"); //bala
    }

}



